﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace DHISInteroperability.DataTransfer
{
    /// <remarks/>
    [XmlTypeAttribute(AnonymousType = true, Namespace = "http://dhis2.org/schema/dxf/2.0")]
    public partial class dataValue
    {

        private string dataElementField;
        private string valueField;

        private string followUpField;
        private string lastUpdatedField;
        private string storedByField;
        private string attributeOptionComboField;
        private string categoryOptionComboField;
        private string orgUnitField;
        private string periodField;

        /// <remarks/>
        [XmlAttributeAttribute]
        public string dataElement
        {
            get
            {
                return this.dataElementField;
            }
            set
            {
                this.dataElementField = value;
            }
        }

        /// <remarks/>
        [XmlAttributeAttribute]
        public string value
        {
            get
            {
                return this.valueField;
            }
            set
            {
                this.valueField = value;
            }
        }

        [XmlAttribute]
        public string followUp
        {
            get { return this.followUpField; }
            set { this.followUpField = value; }
        }

        [XmlAttribute]
        public string lastUpdated
        {
            get { return this.lastUpdatedField; }
            set { this.lastUpdatedField = value; }
        }

        [XmlAttribute]
        public string storedBy
        {
            get { return this.storedByField; }
            set { this.storedByField = value; }
        }

        [XmlAttribute]
        public string attributeOptionCombo
        {
            get { return this.attributeOptionComboField; }
            set { this.attributeOptionComboField = value; }
        }

        [XmlAttribute]
        public string categoryOptionCombo
        {
            get { return this.categoryOptionComboField; }
            set { this.categoryOptionComboField = value; }
        }

        [XmlAttribute]
        public string orgUnit
        {
            get { return this.orgUnitField; }
            set { this.orgUnitField = value; }
        }

        [XmlAttribute]
        public string period
        {
            get { return this.periodField; }
            set { this.periodField = value; }
        }
    }


}
